﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Game
    {
        public enum guess
        {
            石头 = 1,
            剪刀 = 2,
            布 = 3
        }

        public string name { get; set; }
        public string name1 { get; set; }

        public Game(string name, string name1)
        {
            this.name = name;
            this.name1 = name1;
        }

        public virtual guess Guess()
        {
            Random red = new Random();
            int key = red.Next(1, 4);
            guess g = (guess)key;
            return g;
        }
    }
}
